package br.com.binding.client.bind.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Represents the action that should be called to populate a List or a ListBox.
 * The action should return a java.util.List or else an Exception will raise.
 * 
 * @author Marcelo Emanoel
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface LoadAction {
	/**
	 * The name of the load action that should be called. 
	 * @return
	 */
	String value();
}
